/**
 * @author gzbugu
 */

$(function(){
	
	$('#save').click(function(e){
		e.preventDefault();
		var oEditor = FCKeditorAPI.GetInstance("content");   
		var htmlContent = oEditor.GetXHTML()
		var content = $.trim(htmlContent.replace("<br />","")); 
		
		if(content.length < 1){
			alert("请填写文章内容");
			return false;
		}else{
			
			$("#aboutusform").submit();
			alert("保存成功");
			document.location='readAboutUs.action';						
		}
	});
	
})